﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using ClasesLibreria.dao;

public partial class InformeProdMasVendidos : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected void cmdMostrar_Click(object sender, EventArgs e)
    {
        gvProductos.DataSource = DAOFactura.queryFacturasFecha(ConfigurationManager.ConnectionStrings["Libreria"].ConnectionString,
        txtFecha.Text, "CodigoProducto ASC");
        gvProductos.DataBind();
    }
}




